package kr.pe.johnkim.app.domain;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * My History 카테고리 정보 도메인 클래스이다. 
 * 
 * @author : johnkim <cale9797@gmail.com / Simple.ly Inc,>
 * @Date : 11. 12. 23
 */

@XmlRootElement(name="myHistoryCategory")
@XmlAccessorType(XmlAccessType.FIELD)
public class MyHistoryCategory {
    @XmlElement
    String idMyHistoryCategories;
    @XmlElement
    String name;
    @XmlElement
    String comment;
    @XmlElement
    String iconUrl;
    @XmlElement
    String openCategoryYn;
    @XmlElement
    String favoriteYn;
    @XmlElement
    String activateYn;
    @XmlElement
    String modifyDate;
    @XmlElement
    String registerDate;
    @XmlElement
    String myHistoryMembersId;
    @XmlElement
    String count;
    @XmlElement
    int categoryStart;
    @XmlElement
    int categoryCount;
    @XmlElement
    String result;

    @XmlElement
    String itemsCount;                      // 해당 카테고리에 등록된 아이템들의 총갯수.
    @XmlElement
    String categoryItemRegisterDate;        // 해당 카테고리에 가장 최근에 등록된 아이템의 등록 일자.

    public String getIdMyHistoryCategories() {
        return idMyHistoryCategories;
    }

    public void setIdMyHistoryCategories(String idMyHistoryCategories) {
        this.idMyHistoryCategories = idMyHistoryCategories;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getOpenCategoryYn() {
        return openCategoryYn;
    }

    public void setOpenCategoryYn(String openCategoryYn) {
        this.openCategoryYn = openCategoryYn;
    }

    public String getFavoriteYn() {
        return favoriteYn;
    }

    public void setFavoriteYn(String favoriteYn) {
        this.favoriteYn = favoriteYn;
    }

    public String getActivateYn() {
        return activateYn;
    }

    public void setActivateYn(String activateYn) {
        this.activateYn = activateYn;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(String registerDate) {
        this.registerDate = registerDate;
    }

    public String getMyHistoryMembersId() {
        return myHistoryMembersId;
    }

    public void setMyHistoryMembersId(String myHistoryMembersId) {
        this.myHistoryMembersId = myHistoryMembersId;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public int getCategoryStart() {
        return categoryStart;
    }

    public void setCategoryStart(int categoryStart) {
        this.categoryStart = categoryStart;
    }

    public int getCategoryCount() {
        return categoryCount;
    }

    public void setCategoryCount(int categoryCount) {
        this.categoryCount = categoryCount;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getItemsCount() {
        return itemsCount;
    }

    public void setItemsCount(String itemsCount) {
        this.itemsCount = itemsCount;
    }

    public String getCategoryItemRegisterDate() {
        return categoryItemRegisterDate;
    }

    public void setCategoryItemRegisterDate(String categoryItemRegisterDate) {
        this.categoryItemRegisterDate = categoryItemRegisterDate;
    }
}
